﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FluentScheduler;

namespace OddUserManager.Web.Common
{
    public class MyTaskRegistry : Registry
    {
        public MyTaskRegistry()
        {

            Schedule<SettlementOddJob>().NonReentrant().ToRunNow().AndEvery(5).Minutes();


            Schedule<GrabJCMatchJob>().NonReentrant().ToRunNow().AndEvery(5).Minutes();
        }
    }
}
